@import './custom.less';

@content1: content1;
:global{
.@{content1} {
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    width: 1000px;
  &-wrapper{
    //height: 52vh;
    height: auto;
  }
  &-queue1 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 50%;
    margin-left: 30px;
    height: auto;
    position: relative;
    & h1 {
      position: relative !important;
      width: 100%;
      font-size: 32px;
      font-weight: normal;
      color: #404040;
      text-align: center;
    }
    & p {
text-align: center;
    }

    #children{
      display:flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-around;
      width: 100%;
    }
  }

  &-queue-child{
    border-radius: 3px;
    border: 1px solid #ebebeb;
    width: 50%;
    padding: 10px;
    margin: 10px;
    &:hover{
      box-shadow: 0 0 5px #999;
      transition: box-shadow .3s;
      cursor: pointer;
    }
  }

  &-queue2 {
    display: flex;
    flex-direction: row;
    justify-content: center;
    width: 50%;
    margin-right: 30px;
    height: auto;
    position: relative;
    & h1 {
      position: relative !important;
      width: 100%;
      font-size: 32px;
      font-weight: normal;
      color: #404040;
      text-align: center;
    }
    & p {
      text-align: center;
    }

    #children{
      display:flex;
      flex-direction: row;
      align-items: center;
      justify-content: space-around;
      width: 100%;
    }
  }
}

@media screen and (max-width: 767px) {
  .@{content1}-wrapper {
    height: 400px;
    .@{content1} {
      overflow: hidden;
      width: 90%;
      margin: auto;
      &-img, &-text {
        width: 100%;
        display: block;
        position: relative;
        text-align: center;
      }
      &-img {
        margin: 20px auto;
        height: 200px;
        span {
          right: 0;
          left: 0;
          margin: auto;
          width: 180px;
          height: 200px;
          line-height: 200px;
        }
      }
      &-text {
        height: 140px;
        margin-top: 20px;
        p, h1 {
          width: 100%;
          top: auto;
        }
        p {
          margin-top: 20px;
        }
        h1 {
          font-size: 24px;
        }
      }
    }
  }
}
}
